<?php /* Smarty version 2.6.20, created on 2016-07-26 15:01:54
         compiled from ./general/index.php */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', './general/index.php', 9, false),array('block', 'general', './general/index.php', 16, false),array('block', 'shops', './general/index.php', 16, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/top.php", 'smarty_include_vars' => array('subject' => 'general')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="content">
  <form method="post">
    <table width="100%" border="0" cellpadding="5" cellspacing="0" id="editor">
    
    <tr>
        <td colspan="3">
       		 <span style="font-size:14px;line-height:25px;">当前设定管理员：
       		 <span style="color:red">(<?php echo ((is_array($_tmp=@$_GET['setting_admin'])) ? $this->_run_mod_handler('default', true, $_tmp, '您自己') : smarty_modifier_default($_tmp, '您自己')); ?>
)
        </td>
      </tr>
    
    
      <tr>
        <td width="200" class="title">设定管理员可操作仓库:</td>
        <td width="240" class="content"><?php $this->_tag_stack[] = array('general', array('limit' => 1,'setting_admin' => $_GET['setting_admin'])); $_block_repeat=true;smarty_block_general($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $this->assign('general_id', $this->_tpl_vars['general']['id']); ?><?php $this->assign('general_shopid', $this->_tpl_vars['general']['shopid']); ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_general($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?><select name="shopid" style="width:180px;"><option value="0">全部仓库</option><?php $this->_tag_stack[] = array('shops', array()); $_block_repeat=true;smarty_block_shops($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><option value="<?php echo $this->_tpl_vars['shops']['id']; ?>
" <?php if ($this->_tpl_vars['shops']['id'] == $this->_tpl_vars['general_shopid']): ?>selected<?php endif; ?> ><?php echo $this->_tpl_vars['shops']['title']; ?>
</option><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_shops($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></select></td>
        <td class="content">
        </td>
      </tr>
    </table>
    
    <div class="fr mt10">
    <input type="submit" value="确定" class="btn" />
    <input name="id" type="hidden" id="id" value="<?php echo $this->_tpl_vars['general_id']; ?>
" />
    <input name="referer" type="hidden" id="referer" value="<?php echo ((is_array($_tmp=@$_POST['referer'])) ? $this->_run_mod_handler('default', true, $_tmp, @$_SERVER['HTTP_REFERER'], 1) : smarty_modifier_default($_tmp, @$_SERVER['HTTP_REFERER'], 1)); ?>
" />
    <input name="setting_admin" type="hidden" id="setting_admin" value="<?php echo $_GET['setting_admin']; ?>
" />
    <input name="action" type="hidden" id="action" value="modify" />
    
    </div>

  </form>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/bottom.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>